//
//  STMConsultManagementModel.h
//  StoreManagement
//
//  Created by centling on 16/5/21.
//  Copyright © 2016年 alfred. All rights reserved.
//

#import <JSONModel/JSONModel.h>

@protocol STMConsultList <NSObject>
@end

@class STMConsultDetail;
@class STMConsultGoodsInfo;
@class STMConsultManagementResult;

@interface STMConsultManagementModel : JSONModel

@property (strong, nonatomic) NSString* code;
@property (strong, nonatomic) NSString* message;
@property (strong, nonatomic) STMConsultManagementResult<Optional>* result;

@end

@interface STMConsultManagementResult : JSONModel

@property (nonatomic, strong) NSArray<STMConsultList> *data;

@end


@interface STMConsultList : JSONModel

@property (strong, nonatomic) STMConsultDetail<Optional>* consult;
@property (strong, nonatomic) STMConsultGoodsInfo<Optional>* goods_info;

@end

@interface STMConsultDetail : JSONModel

@property (strong, nonatomic) NSString* consult_id;
@property (strong, nonatomic) NSString* goods_id;
@property (strong, nonatomic) NSString* goods_name;
@property (strong, nonatomic) NSString* member_id;
@property (strong, nonatomic) NSString* member_name;
@property (strong, nonatomic) NSString* store_id;
@property (strong, nonatomic) NSString* store_name;
@property (strong, nonatomic) NSString* ct_id;
@property (strong, nonatomic) NSString* consult_content;
@property (strong, nonatomic) NSString* consult_addtime;
@property (strong, nonatomic) NSString* consult_reply;
@property (strong, nonatomic) NSString* consult_reply_time;
@property (strong, nonatomic) NSString* isanonymous;

@end

@interface STMConsultGoodsInfo : JSONModel

@property (strong, nonatomic) NSString* goods_image;
@property (strong, nonatomic) NSString* goods_name;
@property (strong, nonatomic) NSString* goods_price;
@property (strong, nonatomic) NSString* goods_freight;

@end
